package com.wzcl.app.dao.repository;

import com.wzcl.app.dao.model.Requisition;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface RequisitionRepository extends JpaRepository<Requisition,Integer>, JpaSpecificationExecutor<Requisition> {
    Requisition findByGradeIdAndSubjectIdAndUserId(Integer gradeId, Integer subjectId, Integer userId);
}
